package com.aishua.fire.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.aishua.fire.entity.ateampteam.UpdateAteamPteamInfo;
import com.aishua.fire.jpa.entity.AccountteamPermteam;
import com.aishua.fire.mapper.dto.AccountteamPermteamDto;
import com.aishua.fire.mapper.dto.AteamPermteamDto;

public interface AccountteamPermteamService {

	void add(AteamPermteamDto ateamPermteamDto);

	void delete(AteamPermteamDto ateamPermteamDto);

	void update(UpdateAteamPteamInfo updateAteamPteamInfo);
	
	void updateateam(AteamPermteamDto ateamPermteamDto);

	AccountteamPermteam findDetailByPK(String ateamId, String pteamId);

	Page<AccountteamPermteam> searchList(int page, int size, String authAction, String authType);
	
	//根据accountteamId查询
	List<Object> findByAccountteamId(Long accountteamId);
	
	//根据accountteamId查询账户组-权限组表所有信息map
	Map<String, Object> findAllByAccountteamId(Long accountteamId);
	
	List<AccountteamPermteamDto> getAccteamPermteamInfo(String permteamId);
	
	List<AccountteamPermteam> searchList();
}
